class Car{
    constructor(color,speed){
        this.color=color
        this.speed=speed
    }
}
class truck extends car{
    constructor(color,speed){
        super(color,speed)
        this.color="black"
        this.container=true
    }
}